package day20171111;

public class For {
    public static void main(String[] args) {
        int[] a = new int[10];
        a[0] = 1;
        a[1] = 2;
        a[2] = 5;
        a[3] = 15;
        for (int n : a) {//增强循环
            System.out.println(n);


        }

    }
}